home *** CD-ROM | disk | FTP | other *** search
- Path: lrz-muenchen.de!news
- From: watzka@stat.uni-muenchen.de (Kurt Watzka)
- Newsgroups: comp.lang.c++,comp.programming
- Subject: Re: Young programmers read me.
- Date: 7 Apr 1996 18:18:19 GMT
- Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
- Distribution: world
- Message-ID: <4k90tb$s3g@sparcserver.lrz-muenchen.de>
- References: <4icpp9$7hr@barad-dur.nas.com> <4imqe4$cj3@ping1.ping.be> <1996Mar23.224853.116513@kuhub.cc.ukans.edu> <4j52hn$ikb@news.ios.com> <Pine.OSF.3.91.960403112207.17337H-100000@bud.cc.swin.edu.au> <aidan-0404961557290001@meathook.intac.com> <pnoguchi-0404962135210001@pnoguchi.his.com> <aidan-0604961847480001@meathook.intac.com>
- NNTP-Posting-Host: sun2.lrz-muenchen.de
-
- aidan@genghis.kublai.com (Aidan Cully) writes:
-
- >Here you point out one of my greatest objections to the language as though
- >it were a feature... I agree that a programmer should be able to find his
- >own bugs, but loose syntax is just pointless, and makes the bug-hunt just
- >so much harder. I don't think that anyone should have the right to feel
- >macho about being able to figure out how to program in one language while
- >others can't unless the language has some spiffy new layer of abstraction
- >or something that people can't deal with (e.g. OOP), but otherwise it
- >seems like the language is badly designed. After gaining a mastery of
- >C++, then learning other OOP languages, I have come to the conclusion that
- >C++ is badly designed. For example, Function pointer will return an
- >integer, takes two ints as parameters. In C/C++
- > typedef (int*)(int a, int b) MyFuncType;
-
- Did you write this before or after you had "gained a mastery of C++"?
- Obviously, C or C++ is not your native language.
-
- > MyFuncType MyFunc;
- >in Oberon
- > TYPE
- > MyFuncType:FUNCTION( a, b:INTEGER ):INTEGER;
- > VAR
- > MyFunc:MyFuncType;
- >Which do you think looks more readable?
-
- To me, English is more readable than French. Does this mean that this
- is a general property of English, or might it be based on the fact that
- I learned English before I learned French?
-
- Concerning the "loosenes" of the C++ syntax, I had not realized that
- the syntax is "loose" in some sense. Errors that can be detected by a
- compiler will be detected by a compiler. In some cases, something that
- you write does not express what you want, but it has a meaning and
- taking away that meaning reduces the richness of expression of the
- language.
-
- Kurt
- --
- | Kurt Watzka Phone : +49-89-2180-6254
- | watzka@stat.uni-muenchen.de
-